﻿<%@ Page Title="" Language="C#" MasterPageFile="../Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SailHero.Soft.FrameWork.Models.SYS_SOFTAUTHKEY>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    编辑授权信息
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="server">
    <link href="<%=Page.ResolveUrl("../../Content/css/jquery-ui-1.8.14.custom.css")%>"
        rel="stylesheet" type="text/css" />
    <script src="<%=Page.ResolveUrl("../../Scripts/jquery.ui.core.js")%>" type="text/javascript"></script>
    <script src="<%=Page.ResolveUrl("../../Scripts/jquery.ui.datepicker.js")%>"
        type="text/javascript"></script>
    <script type="text/javascript">

        $(function () {
            $("#cancel").click(function () {
                window.location = "/Auth/index";
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="TabTitle" runat="server">
    软件授权信息
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="main_zone">
        <%using (Html.BeginForm())
          { %>
        <table width="99%" style="text-align: left;" border="0" align="center" cellpadding="3"
            cellspacing="1">
            <tr class="ShowContent">
                <td class="left_title_2">
                    机器码
                </td>
                <td colspan="3">
                    <%= Html.TextAreaFor(mod => mod.MACHINECODE, new { style = "height:50px;width:750px;readonly:expression(this.readOnly=true);" })%>
                </td>
            </tr>
            <tr class="ShowContent">
                <td width="18%" class="left_title_1">
                    软件名称
                </td>
                <td width="32%">
                    <span id="SoftCName">
                        <% 
            
                        %>
                    </span>
                    <%= Html.HiddenFor(mod => mod.SOFTID, new { @readonly = "readonly" })%>
                </td>
                <td width="18%" class="left_title_1">
                    软件标识编号
                </td>
                <td width="32%">
                    <%= Html.TextBoxFor(mod => mod.SOFTNO,new { @readonly = "readonly" })%>
                </td>
            </tr>
            <tr class="ShowContent">
                <td class="left_title_2">
                    授权属地
                </td>
                <td>
                    <%= Html.TextBoxFor(mod => mod.WPLACE, new { @readonly = "readonly" })%>
                </td>
                <td class="left_title_2">
                    软件版本
                </td>
                <td>
                    <%= Html.TextBoxFor(mod => mod.SOFTVERSION, new { @readonly = "readonly" })%>
                </td>
            </tr>
            <tr class="ShowContent">
                <td class="left_title_1">
                    CPUID
                </td>
                <td>
                    <%= Html.TextBoxFor(mod => mod.CPUID, new { style = "width:350px;readonly:true;" })%>
                </td>
                <td class="left_title_1">
                    MAC
                </td>
                <td>
                    <%= Html.TextBoxFor(mod => mod.MAC, new { @readonly = "readonly" })%>
                </td>
            </tr>
            <tr class="ShowContent">
                <td class="left_title_2">
                    机器码文件
                </td>
                <td>
                    <a href="<%=Model.MCODEFILE %>" id="MCodeFileH" hidefocus="true" target="_blank">
                        <img src="<%=Page.ResolveUrl("../../Content/images/lock.png")%>" style="height: 21px; cursor: pointer; width: 25px"
                            border="0" />
                    </a>
                </td>
                <td class="left_title_2">
                    许可文件
                </td>
                <td>
                    <a href="<%=Model.SKEYFILE %>" id="A1" hidefocus="true" target="_blank">
                        <img src="<%=Page.ResolveUrl("../../Content/images/key.png")%>" style="height: 21px; cursor: pointer; width: 25px"
                            border="0" />
                    </a>
                </td>
            </tr>
            <tr class="ShowContent">
                <td class="left_title_1">
                    授权人
                </td>
                <td>
                    <%= Html.TextBoxFor(mod => mod.CREATOR, new { @readonly = "readonly" })%>
                </td>
                <td class="left_title_1">
                    授权时间
                </td>
                <td>
                    <%= Html.TextBoxFor(mod => mod.CREATEDATE, new { @readonly = "readonly"})%>
                </td>
            </tr>
            <tr>
                <td colspan="4" class="left_title_1" style="text-align: center;">
                    <input id="cancel" type="button" value="返回" />
                </td>
            </tr>
        </table>
        <%} %>
    </div>
</asp:Content>
